.bottle {
    height: 700px;
    margin-left: 15px;
    margin-right: 15px;
    border-radius: 10px;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.5);
}

.bottle-sidebar {
    border-radius: 10px 0 0 10px;
    background-color: var(--primary-color-9);
    flex: 0 0 8%;
    max-width: 8%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.bottle-main {
    background-color: var(--primary-color-9);
    flex: 0 0 32%;
    max-width: 32%;
}
.bottle-chat {
    position: relative;
    border-radius: 0 10px 10px 0;
    background-color: rgba(241, 241, 241, 1);
    flex: 0 0 60%;
    max-width: 60%;
}
.bottle-sidebar,.bottle-sidebar,.bottle-main {
    position: relative;
    width: 100%;
}

.bottle-sidebar .avatar{
    position: absolute;
    top: 32px;
}

.bottle-sidebar .nav-link {
    color: #6d6c6c;
    padding: 0.8rem 0.9rem;
}

.bottle-main .header {
    height: 70px;
    display: flex;
    align-items: center;
    padding: 0 18px;
    position: relative;
}

.bottle-main .header form {
    display: flex;
    flex: 1;
}

.bottle-main .header .search {
    outline: none;
    border: none;
    height: 35px;
    width: 100%;
    padding-left: 35px;
    padding-right: 15px;
    border-radius: 18px;
    background-color: rgba(255, 255, 255, 0.5);
}

.bottle-main .header .icon-button {
    margin-left: 12px;
}

.bottle-main > .list-group {
    border-radius: 0;
}

.bottle-main > .list-group > .list-group-item {
    background-color: transparent;
    color: #ffffff!important;
    border: 0;
}
.bottle-main > .list-group > .active {
    margin: 0;
    border: 0;
    background-color: var(--primary-color-4);
}
.bottle-main .name {
    color: var(--primary-text-color-10);
    font-size: 15px;
}
.bottle-main .preview {
    width: 189px;
    font-size: 12px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--primary-text-color-7);
}
.bottle-main .time {
    font-size: 11px;
    position: absolute;
    right: 17px;
    top: 15px;
    color: var(--primary-text-color-7);
}

.bottle-chat .header {
    height: 55px;
    line-height: 50px;
    padding-left: 1rem;
    padding-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(208, 208, 208, 0.4);
}
.bottle-chat .header .name {
    margin: 0;
}
.bottle-chat .icon {
    margin-left: 0.3rem;
    margin-right: 0.3rem;
}
.bottle-chat .message-content {
    height: 580px;
    padding: 8px 12px;
    overflow-y: scroll;
    overflow-x: hidden;
}
.message-content .message {
    display: flex;
    margin-bottom: 10px;
    position: relative;
}
.message-content .message.self {
    flex-direction: row-reverse;
}
.message-content .message .avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%
}
.message-content .message .message-body {
    width: 82%;
    margin-left: 12px;
    margin-right: 12px;
}

.message-content .message.self .message-body {
    text-align: right;
}

.message-content .message .base-info {
    height: 25px;
}

.message-content .message .base-info span{
    margin-left: 2px;
    margin-right: 2px;
}
.message-content .message .base-info .tag{
    padding: 0 5px;
    border-radius: 3px;
    color: var(--primary-text-color-10);
    background-color: var(--primary-color-9);
}
.message-content .message .base-info .name{
    color: #333;
    font-size: 14px;
}
.message-content .message .base-info .time{
    color: #666;
    font-size: 12px;
}

.message-content .message .content-text {
    display: inline-block;
    text-align: left;
    padding: 6px 12px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.8);
}

.message-content .message .content-text p{
    width: 100%;
    margin: 0;
    user-select: text;
    word-break: break-word;
}

.user-panel {
    height: 72px;
    display: flex;
    align-items:center;
    justify-content:center;
    position: relative;
    background-color: rgba(255, 255, 255, 0.5);
    padding-left: 22px;
    padding-right: 22px;
}

.user-panel > div {
    display: flex;
    margin-right: 18px;
}

.user-panel > div > i {
    padding-right: 10px;
}

.user-panel > .form-control {
    flex: 1;
}
.user-panel #sendBtn {
    margin-left: 18px;
}

#expression {
    position: absolute;
    left: 18px;
    bottom: 72px;
    width: 395px;
    padding: 0.3rem;
    background-color: rgba(255, 255, 255, 1);
}

.emoji-content {
    font-size: 20px;
}

.emoji-content .emoji-content-item {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: nowrap;
}

.emoji-content .emoji-content-item span {
    cursor: pointer;
    padding: 5px;
}

.emoji-content .emoji-content-item span:hover {
    background-color: rgba(0,0,0,.1);
}

.group-manage-panel {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 300px;
    transition: transform 0.5s;
    border-radius: 0 10px 10px 0;
    background-color: rgba(250, 250, 250, 0.95);
    z-index: 99;
}

.group-manage-panel .content-title {
    color: #666;
    font-weight: bold;
    height: 55px;
    line-height: 55px;
    border-bottom: 1px solid #e8e8e8;
    box-sizing: border-box;
    text-align: center;
}

.group-manage-panel .content-body {
    padding: 8px 10px;
}

.group-manage-panel .content-subtitle {
    line-height: 33px;
    font-size: 14px;
    color: #333;
    font-weight: bold;
}

.group-manage-panel .content-users {

}

.group-manage-panel .user-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 35px;
    line-height: 35px;
}

.group-manage-panel .user-info img {
    width: 28px;
    height: 28px;
}

.group-manage-panel .user-info .name {
    margin-left: 5px;
    color: #333;
    text-shadow: 0 2px 3px rgb(165 165 165)
}

.group-manage-panel .user-agent {
    color: #666;
    font-size: 12px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-left: 12px;
    text-align: right;
}

.group-manage-panel.show ,.panel-mask.show{
    display: inline-block!important;
}

.panel-mask {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.tag.hide {
    display: none;
}

.guestLogin {
    color: var(--primary-color-10);
    cursor: pointer;
    font-size: 14px;
    font-weight: bolder;
}


@media only screen and (max-width: 750px){
    .bottle-sidebar {
        flex: 0 0 18%;
        max-width: 18%;
    }
    .bottle-main {
        display: none;
    }
    .bottle-chat {
        flex: 0 0 82%;
        max-width: 82%;
    }
    .user-panel {
        padding-left: 10px;
        padding-right: 10px;
    }
    .user-panel > div {
        margin-right: 6px;
    }
    .user-panel > div > i {
        padding-right: 5px;
    }
    .user-panel #sendBtn {
        margin-left: 6px;
    }
}

@media only screen and (max-width: 420px) {
    .bottle-sidebar {
        display: none;
    }
    .bottle-main {
        display: none;
    }
    .bottle-chat {
        flex: 0 0 100%;
        max-width: 100%;
        border-radius: 10px;
    }
    .user-panel {
        padding-left: 10px;
        padding-right: 10px;
    }
    .user-panel > div {
        margin-right: 5px;
    }
    .user-panel > div > i {
        padding-right: 3px;
    }
    .user-panel #sendBtn {
        margin-left: 3px;
    }
}
